function ya = ya_vector(x, p)
a = getrobotparameter('a');
y_a1 = ya1_sca(x, p, a);
y_a2 = ya2_vec(x, p, a);

ya = [y_a1; y_a2];

end